package com.tonglin.springboot.mapper;

import com.tonglin.springboot.po.Book;
import com.tonglin.springboot.po.BookOrder;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookOrderMapper {

    public int insert(BookOrder bookOrder);
    public int delete(BookOrder bookOrder);
    public List<BookOrder> queryBookOrderByname(String bookName);
    public List<String> queryBookOrderByUsername(String userName);
    public List<BookOrder> selectAll();
}
